diff options
Diffstat (limited to 'app/[lng]/pending/layout.tsx')
| -rw-r--r-- | app/[lng]/pending/layout.tsx | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/app/[lng]/pending/layout.tsx b/app/[lng]/pending/layout.tsx new file mode 100644 index 00000000..2f767d1d --- /dev/null +++ b/app/[lng]/pending/layout.tsx @@ -0,0 +1,42 @@ +import { UserProfileBadge } from "@/components/layout/user-profile-badge" +import Image from "next/image" +import { authOptions } from "@/app/api/auth/[...nextauth]/route" +import { getServerSession } from "next-auth/next" +export default async function PendingLayout({ + children, +}: { + children: React.ReactNode +}) { + const session = await getServerSession(authOptions) + + return ( + <div className="min-h-screen bg-gradient-to-br from-blue-50 to-indigo-100"> + {/* 헤더 없음 - 단순한 로고만 */} + <div className="w-full py-4 px-6"> + <div className="flex justify-between items-center"> + <div className="flex items-center gap-2"> + <Image + className="dark:invert" + src="/images/vercel.svg" + alt="EVCP Logo" + width={20} + height={20} + /> + <span className="text-lg font-bold text-gray-800">eVCP</span> + </div> + + {/* 간단한 사용자 정보만 */} + <UserProfileBadge user={session?.user} /> + </div> + </div> + + {/* 메인 컨텐츠 */} + <main className="container mx-auto px-6 py-8"> + {children} + </main> + </div> + ) +} + + + |
